package com.llmcu.graphic.designpatterns.mediator;

import javax.swing.*;

/**
 * xxxx
 *
 * @author liuling
 * @date 2024/7/21 10:11
 */
public class LoginButton extends JButton implements Colleague{

    public LoginButton(String text) {
        super(text);
    }

    private Mediator mediator;

    @Override
    public void setMediator(Mediator mediator) {
        this.mediator= mediator;
    }
}
